/**
 * 
 */
package com.pmsco.pms.core.dao;

import java.util.List;

import com.pmsco.pms.core.domain.Category;

/**
 * @author Long Tran
 *
 */
public interface CategoryDao {
	public void saveOrUpdateCategory(Category category);
	public List<Category> listCategory(Category searchTemplate);
	public Category loadCategory(Category searchTemplate);
	public Category getCategoryById(Long id);
	public void deleteCategory(Category category);
	public List<Category> findByProperty(String propertyName, Object value);
	public List<Category> listCategory(String searchField, String searchString, String searchOper, String sidx, String sord, Integer page, Integer rows);
	public Integer countListCategory(String searchField, String searchString, String searchOper);
}
